package com.hongyi.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.hongyi.pojo.Region;
import com.hongyi.vo.RegionVO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @Author: hongyi
 * @CreateTime: 2024-08-27
 */


@Mapper
public interface RegionMapper extends BaseMapper<Region>{
    List<RegionVO> getById(@Param("id") Integer id);

     List<RegionVO> getAll();
}
